<template>
  <div class="sdy-order-list">
    啥都有~订单列表
  </div>

</template>

<script setup lang="ts">
// 请求订单列表

  import { orderAllApi } from '@/api/order'
  import { onMounted } from 'vue'
//  获取订单列表
const GetOrderList=async()=>{
  const res = await orderAllApi(window.localStorage.getItem('userid')as string )
  console.log(res);
  
}
  onMounted(()=>{
    GetOrderList()
  })

</script>

 <style scoped lang="scss">
</style>